.modal {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 99999;
  // transform: translateZ(100px);

  &__main {
    width: 680px;
    height: 240px;
    background: rgba(255, 255, 255, 1);
    border-radius: 4px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    background: white;
    z-index: 9999;
    border-radius: 5px;

    &__close {
      width: 50px;
      height: 50px;
      background: url('../img/close-bg.png') center center no-repeat;
      border-radius: 4px;
      position: absolute;
      right: 0;
      top: 0;
      background-size: contain;
      cursor: pointer;
      .close-icon {
        background: url(../img/close.png) center center no-repeat;
        width: 12px;
        height: 12px;
        position: absolute;
        right: 8px;
        top: -20px;
        bottom: 0;
        margin: auto;
        background-size: contain;
        cursor: pointer;
      }
    }

    &__content {
      margin-top: 60px;
      text-align: center;

      &__title {
        font-size: 18px;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        line-height: 30px;
      }

      &__text {
        font-size: 18px;
        font-weight: 400;
        color: rgba(51, 51, 51, 1);
        line-height: 30px;
      }
    }

    &__footer {
      text-align: center;
      height: 47px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 30px;

      &__btn {
        min-width: 120px;
        height: 40px;
        padding: 0 10px;
        line-height: 40px;
        border-radius: 4px;
        text-align: center;
        display: inline-block;
        color: white;
        cursor: pointer;
        margin: 0;
        &.first {
          margin-left: 0 !important;
        }
        &:last-child {
          margin-left: 60px;
        }

        &--confirm {
          color: #7c7ae6;
          border: 1px solid #7c7ae6;
        }

        &--cancel {
          color: white;
          background: #7c7ae6;
        }
      }
    }
  }

  &__bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 222;
    margin: auto;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background: black;
  }
}
